package com.atguigu.orderservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Description
 * @Author lzc <1029669636@qq.com>
 * @Version V1.0.0
 * @Since 1.0
 * @Date 2021/1/13
 */
@SpringBootApplication
@ComponentScan("com.atguigu")
@MapperScan("com.atguigu.orderservice.mapper")
@EnableDiscoveryClient
@EnableFeignClients
public class OrderApplication {

  public static void main(String[] args) {
      SpringApplication.run(OrderApplication.class, args);
  }
}
